n = 0
while n < 10:
    print(n)
    n += 1

n = 0
sum = 0
while n < 100:  # 从 0+1 到 100
    n += 1
    sum += n
print(sum)
